package com.bestdreamer.threadbasic;

public class HasSelfPrivateNumThreadA extends Thread {
    private final HasSelfPrivateNum numRef;
    public HasSelfPrivateNumThreadA (HasSelfPrivateNum numRef){
        super();
        this.numRef = numRef;
    }

    @Override
    public void run() {
        super.run();
        numRef.addI("a");
    }
}
